<div class="trace_uri">DATA PERKULIAHAN &raquo; <span class="current_page">JADWAL KULIAH</span></div>
<div id="content">

<div id="top_info_1">
<div class="info_left lfloat">
  <b>JADWAL KULIAH</b>: SEMESTER <?php echo $kontrol->SEMESTER; ?> <?php echo $kontrol->TAHUN_AJARAN; ?>
</div>
</div>

<div class="text">
<p>
 <br />
 <table id="uiSchedule" border="0" align="center">
            <tr border="0" align="center">
                <td colspan="7">
                  <?php if( ($this->uri->segment(3) == 1) || ($this->uri->segment(3) == NULL) || ($this->uri->segment(3) > 5)  ): ?>
                           <b>Senin</b> &bull;
                  <?php else:?>
                           <a href="<?php echo base_url().'siam/jadwal-kuliah/1.html' ?>">Senin</a> &bull;
                  <?php endif; ?>

                  <?php if($this->uri->segment(3) == 2): ?>
                           <b>Selasa</b> &bull;
                  <?php else:?>
                           <a href="<?php echo base_url().'siam/jadwal-kuliah/2.html' ?>">Selasa</a> &bull;
                  <?php endif; ?>

                  <?php if($this->uri->segment(3) == 3): ?>
                           <b>Rabu</b> &bull;
                  <?php else:?>
                           <a href="<?php echo base_url().'siam/jadwal-kuliah/3.html' ?>">Rabu</a> &bull;
                  <?php endif; ?>

                  <?php if($this->uri->segment(3) == 4): ?>
                           <b>Kamis</b> &bull;
                  <?php else:?>
                           <a href="<?php echo base_url().'siam/jadwal-kuliah/4.html' ?>">Kamis</a> &bull;
                  <?php endif; ?>

                  <?php if($this->uri->segment(3) == 5): ?>
                           <b>Jumat</b>
                  <?php else:?>
                           <a href="<?php echo base_url().'siam/jadwal-kuliah/5.html' ?>">Jumat</a>
                  <?php endif; ?>
                 </td>
            </tr>
 </table>
 <br />
 <div style="margin-left:60px">
    <b>
      <?php if( ($this->uri->segment(3) == 1) || ($this->uri->segment(3) == NULL) || ($this->uri->segment(3) > 5) ): ?>
              <?php echo "Senin";?>

      <?php elseif($this->uri->segment(3) == 2): ?>
              <?php echo "Selasa";?>

      <?php elseif($this->uri->segment(3) == 3): ?>
               <?php echo "Rabu";?>

      <?php elseif($this->uri->segment(3) == 4): ?>
               <?php echo "Kamis";?>

      <?php elseif($this->uri->segment(3) == 5): ?>
               <?php echo "Jumat";?>

      <?php endif; ?>
    </b>
 </div>
 <table border="2" cellpadding="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" align="center">
            <tr align="center">
                <th width="40" height="23">No.</th>
                <th width="97">Waktu</th>
                <th width="70">Kode MK</th>
                <th width="210">Nama MK</th>
                <th width="40">SKS</th>
                <th width="60" height="37">Kelas</th>
                <th width="210">Dosen Pengampu</th>
            </tr>
            <?php if($jadwalKuliah): ?>
            <?php $seq_number = 1; ?>
            <?php foreach($jadwalKuliah as $jadwalValue): ?>
            <tr bgcolor="#FFFFFF" align="center">
              <td height="25"><?php echo $seq_number ?></td>
              <td><?php echo $jadwalValue->MULAI ?> - <?php echo $jadwalValue->SELESAI ?></td>
              <td><?php echo strtoupper($jadwalValue->KODE_MK) ?></td>
              <td align="left" style="padding-left:10px"><?php echo ucwords(strtolower($jadwalValue->NAMA_MK)) ?></td>
              <td><?php echo $jadwalValue->SKS ?></td>
              <td><?php echo $jadwalValue->KELAS ?></td>
              <td align="left" style="padding-left:10px"><?php echo $jadwalValue->NAMA_DOSEN ?></td>
            </tr>
            <?php $seq_number++; ?>
            <?php endforeach; ?>
            <?php else: ?>
            <tr bgcolor="#FFFFFF" align="center">
              <td colspan="7" height="25">Data tidak tersedia.</td>
            </tr>
            <?php endif;;?>
   </table>
</p>
<div class="separator_closer">&nbsp;</div>

</div>

</div>